package com.itc.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itc.api.pojo.dao.User.UserDAO;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<UserDAO> {
    @Select("SELECT * FROM `t_user` WHERE `account` = #{account} AND `status` = 1")
    UserDAO selectByAccount(String account);
}
